package com.eshop.modules.template.service.dto;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.constraints.NotBlank;

public class RegionInfoDto
{
    @NotBlank(message = "请填写可配送区域")
    private String regionName;
    @NotBlank(message = "请填写首件")
    private String first;
    @NotBlank(message = "请填写首件价格")
    private String price;
    @NotBlank(message = "请填写续件")
    @JsonProperty("_continue")
    private String _continue;
    @NotBlank(message = "请填写续件价格")
    private String continue_price;
    private List<RegionDto> region;
    
    public String getRegionName() {
        return this.regionName;
    }
    
    public String getFirst() {
        return this.first;
    }
    
    public String getPrice() {
        return this.price;
    }
    
    public String get_continue() {
        return this._continue;
    }
    
    public String getContinue_price() {
        return this.continue_price;
    }
    
    public List<RegionDto> getRegion() {
        return this.region;
    }
    
    public void setRegionName(final String regionName) {
        this.regionName = regionName;
    }
    
    public void setFirst(final String first) {
        this.first = first;
    }
    
    public void setPrice(final String price) {
        this.price = price;
    }
    
    @JsonProperty("_continue")
    public void set_continue(final String _continue) {
        this._continue = _continue;
    }
    
    public void setContinue_price(final String continue_price) {
        this.continue_price = continue_price;
    }
    
    public void setRegion(final List<RegionDto> region) {
        this.region = region;
    }
    
    @Override
    public String toString() {
        return "RegionInfoDto(regionName=" + this.getRegionName() + ", first=" + this.getFirst() + ", price=" + this.getPrice() + ", _continue=" + this.get_continue() + ", continue_price=" + this.getContinue_price() + ", region=" + this.getRegion() + ")";
    }
}
